﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="RelatedProduct.ascx.cs"
    Inherits="user_RelatedProduc" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0" CssClass="CustomTabStyle">
    <asp:TabPanel runat="server" ID="TabPanel1" HeaderText="| BEST SELLER |">
        <HeaderTemplate>
            | SAME CATEGORY |
        </HeaderTemplate>
        <ContentTemplate>
            <asp:DataList ID="DataListRelatedCategory" runat="server" Width="750px" CellSpacing="10"
                RepeatDirection="Horizontal" RepeatColumns="5">
                <ItemTemplate>
                    <img width="100" src='<%#Eval("pd_image")%>' alt='<%#Eval("pd_name")%>' />
                    <br />
                    <a href="productDetails.aspx?Cat=<%#Eval("cat_id")%>&ID=<%#Eval("pd_id") %>&Price=<%#Eval("pd_price") %>">
                        <asp:Label ID="Label1" runat="server" Text='<%#Eval("pd_name")%>' Font-Size="11px"
                            ToolTip='<%#Eval("pd_name")%>'></asp:Label></a>
                </ItemTemplate>
            </asp:DataList>
        </ContentTemplate>
    </asp:TabPanel>
    <asp:TabPanel ID="TabPanel2" runat="server" HeaderText="SAME PRICE">
        <ContentTemplate>
                    <asp:DataList ID="DataListRelatedPrice" runat="server" Width="750px" CellSpacing="10"
                RepeatDirection="Horizontal" RepeatColumns="5">
                <ItemTemplate>
                    <img width="100" src='<%#Eval("pd_image")%>' alt='<%#Eval("pd_name")%>' />
                    <br />
                    <a href="productDetails.aspx?ID=<%#Eval("pd_id") %>">
                        <asp:Label ID="Label1" runat="server" Text='<%#Eval("pd_name")%>' Font-Size="11px"
                            ToolTip='<%#Eval("pd_name")%>'></asp:Label></a>
                </ItemTemplate>
            </asp:DataList>
        </ContentTemplate>
    </asp:TabPanel>
</asp:TabContainer>
